package com.hzgj.soa;

import com.hzgj.bcl.concurrent.FutureListener;

import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;

/**
 * Created by warning on 2016/11/10.
 */
public class UserClientListener implements FutureListener {
    @Override
    public void futureDone(Future future) {
        try {
            System.out.println(future.get());
        } catch (InterruptedException e) {
            e.printStackTrace();
        } catch (ExecutionException e) {
            e.printStackTrace();
        }
    }
}
